# -*- coding: utf-8 -*-
#
import unittest

from wx.img_piece import ImgPiece


class ModuleTest(unittest.TestCase):

    def test_img_piece(self):
        # img_path = '/Users/fujianjian/Downloads/婚礼'
        img_path = '/data/code/scrapy/demoi/mansite/img/三上悠亜'
        # ImgPiece().imgPiece(img_path, 1024)
        ImgPiece().imgPiece(img_path, 960, 1650)
